﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.OleDb;

namespace DAO
{
    public class DataProvider
    {
        public static OleDbConnection ConnectDB()
        {
            string connectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=CSDL_QLBH_A3.mdb";
            OleDbConnection conn;
            conn = new OleDbConnection(connectionString);
            conn.Open();
            return conn;
        } 
    }
}
